﻿/*
 * Created by SharpDevelop.
 * User: CrOnO
 * Date: 28/10/2011
 * Time: 11:46 a.m.
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Collections.Generic;
using System.Collections;
using Business_Entity;
using DAOFactory;

namespace Business_Logic
{
	/// <summary>
	/// Description of BLTurno.
	/// </summary>
	public class BLTurno
	{
		public BLTurno()
		{
		}
		
		public List<BETurno> obtenerTurno(BEEmpleado empleado)	
		{
			DAOTurno dao = new DAOTurno();
			
			List<BETurno> res = dao.obtenerTurno(empleado);
			
			return res;
		}
		
		public int modificarTurno(List<DateTime> horas, int idHorario)
		{
			int res = 0;
			DAOTurno dao = new DAOTurno();
			
			res = dao.modificarTurno(horas, idHorario);
			
			return res;
		}
	}
}
